package chuishop.yiqimaicai.pojo;

public class Goods {

    private Integer gid;    //商品id
    private String gname;   //商品名
    private Integer tyid;   //商品类型id
    private String gimage;  //商品图片
    private String gsize;   //规格

    private String tgname;  //商品类型名称
    private Integer sid;    //供应商id
    private Integer gnum;   //库存数量
    private Double agprice; //进货单价
    private String agpoint; //进货点

    public Goods() {
    }

    public Goods(Integer gid, String gname, Integer tyid, String gimage, String gsize) {
        this.gid = gid;
        this.gname = gname;
        this.tyid = tyid;
        this.gimage = gimage;
        this.gsize = gsize;
    }

    public String getAgpoint() {
        return agpoint;
    }

    public void setAgpoint(String agpoint) {
        this.agpoint = agpoint;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getGnum() {
        return gnum;
    }

    public void setGnum(Integer gnum) {
        this.gnum = gnum;
    }

    public Double getAgprice() {
        return agprice;
    }

    public void setAgprice(Double agprice) {
        this.agprice = agprice;
    }

    public String getTgname() {
        return tgname;
    }

    public void setTgname(String tgname) {
        this.tgname = tgname;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Integer getTyid() {
        return tyid;
    }

    public void setTyid(Integer tyid) {
        this.tyid = tyid;
    }

    public String getGimage() {
        return gimage;
    }

    public void setGimage(String gimage) {
        this.gimage = gimage;
    }

    public String getGsize() {
        return gsize;
    }

    public void setGsize(String gsize) {
        this.gsize = gsize;
    }
}
